import request from '@/utils/request'

//获取标签树分页列表
export function getLabelTreeList(data) {
	return request({
		method: 'post',
		url: 'tbSysLabelTree/queryList',
		data
	})
}

//添加标签树
export function addedLabelTree(data) {
	return request({
		method: 'post',
		url: 'tbSysLabelTree/add',
		data
	})
}

//删除标签树
export function deleteLabelTree(id) {
	return request({
		method: 'post',
		url: 'tbSysLabelTree/delete/' + id
	})
}

//标签树详情
export function labelTreeDetail(id) {
	return request({
		method: 'get',
		url: 'tbSysLabelTree/query/' + id
	})
}